package com.michael.retail.sys.api.feign;

import com.michael.retail.commons.pojo.global.R;
import com.michael.retail.sys.api.pojo.entity.SysUser;

/**
 * 类功能描述:
 * <pre>
 *   SysUserFeignFallback
 * </pre>
 *
 * @author Michael
 * @version 1.0
 * @date 2021/7/7 9:06
 */
public class SysUserFeignFallback implements SysUserFeign{
    @Override
    public R<SysUser> getUserByUsername(String username) {
        return R.failed("调用出错");
    }
}
